package com.smh.demo1.a39;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

/**
 * @author shiminghui
 * @date 2025/5/9 20:57
 * @description: TODO
 */
@Aspect
@Component
public class MyAspect {
    @Before("execution(* com.smh.demo1.a39.Bean1.*(..))")
    public void test() {
        System.out.println("before");
    }
}
